package com.example.layautsventana;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class VentanaMovimientosActivity extends Activity {
	
	Button btnRegresar = (android.widget.Button) findViewById(R.id.btn_reg);
	TextView v_bienveni=(android.widget.TextView)findViewById(R.id.v_bienven);
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_ventana_movimientos);
		/*android.content.Intent intento=getIntent();
		
		
		String parame=intento.getStringExtra("paramm1");
		
		v_bienveni.setText("Bien "+parame);*/
		
		    
        btnRegresar.setOnClickListener(new android.view.View.OnClickListener() {
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
					android.content.Intent intento=new android.content.Intent(VentanaMovimientosActivity.this,VentanaMenu.class);
					
					startActivity(intento);
				
			}
		});
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.ventana_movimientos, menu);
		return true;
	}

}
